package com.xxx.blog.service;


import com.xxx.base.vo.GdVo;
import com.xxx.blog.domain.Article;
import com.xxx.blog.query.ArticleQuery;

import java.util.List;

public interface IArticleService {
    List<Article> findAll();
    Article findOne(long id);
    List<Article> queryPage(ArticleQuery articleQuery);
    void addArticle(Article article);
    void updateArticle(Article article);
    void deleteArticle(long id);
    void batchArticle (Long[] ids);

    List<GdVo> getGd();

    List<Article> getRa(long id);
}
